package com.project.hqshorttaxi.service;

import com.project.hqshorttaxi.dto.WhiteListParam;
import com.project.hqshorttaxi.entity.WhiteList;

import java.util.List;

public interface WhiteListService {

    WhiteList getById(Integer id);

    void insert(WhiteList entity) throws Exception;

    void update(WhiteList entity) throws Exception;

    void delete(Integer id) throws Exception;

    List<WhiteList> list(WhiteListParam param);
}
